﻿namespace Ids4.Api.Application.Infrastructure
{
    /// <summary>
    /// OptionsSetting
    /// </summary>
    public class OptionsSetting
    {
        /// <summary>
        /// DataBase
        /// </summary>
        public DataBase DataBase { get; set; } = new DataBase();
        /// <summary>
        /// IdentityServer4
        /// </summary>
        public IdentityServer4 IdentityServer4 { get; set; } = new IdentityServer4();
    }
    /// <summary>
    /// DataBase
    /// </summary>
    public class DataBase
    {
        /// <summary>
        /// Type
        /// </summary>
        public string Type { get; set; } = "";
        /// <summary>
        /// ConnectStr
        /// </summary>
        public string ConnectStr { get; set; } = "";
        /// <summary>
        /// UseMinProfiler
        /// </summary>
        public bool UseMinProfiler { get; set; } = true;
    }
    /// <summary>
    /// IdentityServer4
    /// </summary>
    public class IdentityServer4
    {
        /// <summary>
        /// AuthUrls
        /// </summary>
        public string AuthUrls { get; set; } = "";
        /// <summary>
        /// SigningKey 
        /// </summary>
        public string SigningKey { get; set; } = "";
        /// <summary>
        /// Issuer 
        /// </summary>
        public string Issuer { get; set; } = "";
        /// <summary>
        /// Audience
        /// </summary>
        public string Audience { get; set; } = "";
    }
}
